<template>
  <div v-show="category === ProductEnum.BW || category === ProductEnum.BWYXB">
    <slot name="bw" />
  </div>
  <div v-show="category === ProductEnum.CiBao">
    <!-- || category === ProductEnum.CBYXB -->
    <slot name="cibao" />
  </div>
  <div v-show="category === ProductEnum.HJBW">
    <slot name="hjbw" />
  </div>
</template>

<script lang="ts" setup name="Ybs">
import { ProductEnum } from '@/core/enums/platform'

interface Props {
  category?: ProductEnum
}

defineProps<Props>()
</script>
